//++
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
// Module Name:
//
//    IRulesLoader.cs
//
// Abstract:
//    
//    Specifies an interface for loading/saving notification rules.
//
//--

namespace Microsoft.EnhancedReminders.OutlookAddIn
{
    /// <summary>
    /// Interface for loading/saving notification rules.
    /// </summary>
    public interface IRulesLoader
    {
        /// <summary>
        /// Populates an empty list with the notification rules.
        /// </summary>
        /// <param name="rules">An empty rules collection to be populated with the stored rules.</param>
        void Load(NotificationRules rules);

        /// <summary>
        /// Saves the given list of rules.
        /// </summary>
        /// <param name="rules">The rules to be saved.</param>
        void Save(NotificationRules rules);
    }
}
